<?php

error_reporting(7);

$template_name = "index.html";
require "common.php";
require "tools/class.weixin.php";
$weixin=new WEIXIN($DB);
$lists=$weixin->lists();
$follow=$weixin->follow_top();
//*****生成分类数据//
require_once "tools/tree/sort.class.php";
$tree = new SortClass($DB);
$tree->showt_weixin_area_list(AREAPARENTID);
$arealist=$tree->showhtml;
//*****生成分类数据结束//
$tpl->assign("lists_top",$lists["top"]);
$tpl->assign("lists_spec",$lists["spec"]);
$tpl->assign("life_list",$lists["life"]);
$tpl->assign("lists_fashion",$lists["fashion"]);
$tpl->assign("lists_area",$lists["area"]);
$tpl->assign("followlist",$follow);
$tpl->assign("arealist",$arealist);
$tpl->output();

?>